package me.dracen.设计模式.命令模式;

public class Client {

    public static void main(String[] args) {
        Invoker invoker = new Invoker();

        LightOffCommand offCommand = new LightOffCommand();
        invoker.execute(offCommand);

        LightOnCommand onCommand = new LightOnCommand();
        invoker.execute(onCommand);
    }
}
